let child =require("StartAndInitTestChild");
cc.Class({
    extends: cc.Component,

    properties: {
        Go:{
            default:null,
            type:cc.Node,
        }

    },

    // LIFE-CYCLE CALLBACKS:

     onLoad () {

        cc.log("onload");
         if(this.Go===null){
             cc.log("NUlllll");
         }
     },

    start () {
        cc.log("sdfasd Start");
        if(this.Go===null){
            cc.log("NUlllll");
        }
        cc.log("直接來看"+this.Go.active);
        this.Go.active=true;
        let bbbb= this.Go.getComponent(child);

        bbbb.Init();
    },

    // update (dt) {},
});
